package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectAllClazzDTO;
import com.itheima.tlias84.dto.SelectClassByIdDTO;
import com.itheima.tlias84.po.InsertClazzParam;
import com.itheima.tlias84.po.SelectClazzPageParam;
import com.itheima.tlias84.po.UpdateClazzParam;
import com.itheima.tlias84.utils.ResultUtil;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ClazzService {
    ResultUtil selectClazzByPage(SelectClazzPageParam param);

    List<SelectAllClazzDTO> selectAllClazz();

    SelectClassByIdDTO selectClazzById(Integer id);

    int insertOneClazz(InsertClazzParam param);

    int updateClazz(UpdateClazzParam param);

    int deletebatch(Integer id);
}
